package com.example.demo.service;

import com.example.demo.pojo.Account;

public interface AccountService {

    boolean addAccount(Account account);

    boolean searchAccountByUserNameAndPassword(String username, String password);

    void updatePasswordByUserName(String password, String username);

    boolean searchAccountByUserNameAndEmail(String username, String email);
}
